package com.csap.framework.oauth2.server.model;

import com.csap.framework.oauth2.server.entity.UserOpenInfoEntity;
import com.csap.framework.annotation.apidoc.Description;
import lombok.Data;
import lombok.AllArgsConstructor;
import com.csap.framework.annotation.apidoc.ApiModelProperty;

import java.time.LocalDateTime;

import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.Builder;
import com.csap.mybatisplus.extension.activerecord.CloneModel;
import lombok.experimental.Accessors;
import com.csap.framework.annotation.apidoc.ApiModel;

/**
 * <p>
 * 用户开放的相关信息
 * </p>
 *
 * @author yangchengfu
 * @dateTime 2021-07-29 13:27:19
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ApiModel(description = "用户开放的相关信息", value = "userOpenInfo对象")
@Description(value = "用户开放的相关信息Model")
public class UserOpenInfoModel extends CloneModel<UserOpenInfoModel, UserOpenInfoEntity> {
    @ApiModelProperty(description = "ID", value = "ID")
    private Long id;
    @ApiModelProperty(description = "客户端的ID", value = "客户端的ID")
    private String clientId;
    @ApiModelProperty(description = "用户ID", value = "用户ID")
    private String userId;
    @ApiModelProperty(description = "用户的opendId", value = "用户的opendId")
    private String openId;
    @ApiModelProperty(description = "创建时间", value = "创建时间")
    private LocalDateTime createTime;
    @ApiModelProperty(value = "平台")
    private String platform;
}
